Kuztuscms::Engine.routes.draw do

  devise_for :users, 
             :class_name => "Kuztuscms::User", 
             :module => :devise,
             :path => :accounts

  resources :pages
  resources :users
  resources :articles
  resources :templates, :except => :show
  resources :layouts, :except => :show
  resources :settings, :except => :show

  get '/*page' => 'pages#show'

  root :to => 'home#index'
end
